﻿@model WebUI.Areas.Bots.Models.AdvancedBotTypeViewModel
@{
    Layout = MVC.Bots.Shared.Views._Main;
}
@section Title{@WebUI.Resources.AdvancedBotType}
@section PageName{@WebUI.Resources.AdvancedBotType}
@using (Html.BeginForm(MVC.Bots.AdvancedBotType.Save()))
{
    @Html.ValidationSummary(false)
    <div class="filter_bar">
        <span>When user accesses </span>
        @Html.DropDownListFor(m => m.SelectedBotTypeActivity, Model.BotTypeActivities)
        @if (Model.ShowUnusualDataSection)
        {
            <div id="TrainingData">
                <span>Training Data</span>
                @Html.TextBoxFor(m => m.UnusualTrainingValue)
                @Html.ValidationMessageFor(model => model.UnusualTrainingValue)
                @Html.DropDownListFor(m => m.UnusualTrainingSpan, Model.Spans)
            </div>
        }
    </div>
    @Html.ActionLink(WebUI.Resources.Previous, MVC.Bots.BotType.Index(), new { @class = "prev btn" })
    <input type="submit" class="next btn" value='@WebUI.Resources.Next' />
}